.profile__edit-button {
  width: 24px;
  height: 24px;
  padding: 6px;
  background-color: transparent;
  background-image: url(../../../images/Edit.svg);
  background-position: center;
  background-repeat: no-repeat;
  background-size: 10px;
  border: 1px solid #FFF;
  align-self: flex-end;
  transition: opacity 0.5s linear;
  opacity: 1;
}

.profile__edit-button:hover {
  opacity: 0.6;
  cursor: pointer;
}

@media screen and (max-width: 768px) {
  .profile__edit-button {
    width: 18px;
    height: 18px;
    background-size: 7px;
    padding: 4px;
  }
}

@media screen and (max-width: 580px) {
  .profile__edit-button {
    grid-column: 2/3;
    grid-row: 1/2;
    position: relative;
    z-index: 1;
    align-self: center;
  }
}
